package com.maxatime.exception;

public class PhoenixException extends RuntimeException {
	
	private static final long serialVersionUID = 1L;

	private String code;
	private String msg;
	
	public PhoenixException() {
        super();
    }
    
    public PhoenixException(String message) {
        super(message);
    }
	
    public PhoenixException(String code, String message) {
    	this.code = code;
    	this.msg = message;
    }

    public PhoenixException(String message, Throwable cause) {
        super(message, cause);
    }
    
    public PhoenixException(Throwable cause) {
        super(cause);
    }

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

    
}
